package com.ourteam.education.dao;
import net.dao.IDataAccessInterface;
/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:04
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
public interface IBaseTeacherCampusRelateDAO 
    extends IDataAccessInterface<TeacherCampusRelate, TeacherCampusRelateDAOQueryBean>{
    
    /**
	*  Mapped Entity Name
	*/
	static final String EntityName = "EDU_TEACHER_CAMPUS_RELATE";
	
		
	/**
	 * Mapped Field ID
	*/
	
	static final String Id = "EDU_TEACHER_CAMPUS_RELATE.ID";
	
		
	/**
	 * Mapped Field TEACHER_ID
	*/
	
	static final String TeacherId = "EDU_TEACHER_CAMPUS_RELATE.TEACHER_ID";
	
		
	/**
	 * Mapped Field CAMPUS_ID
	*/
	
	static final String CampusId = "EDU_TEACHER_CAMPUS_RELATE.CAMPUS_ID";
	
		
						
	/**
	 * Mapped Attribute teacherName
	*/
	static final String TeacherName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.ITeacherDAO.TeacherName,
	        com.ourteam.education.dao.ITeacherDAO.EntityName + ".",
	        "RELATED_G9ZW3P_Teacher."
	   );
	
								
	/**
	 * Mapped Attribute campusName
	*/
	static final String CampusName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.ICampusDAO.CampusName,
	        com.ourteam.education.dao.ICampusDAO.EntityName + ".",
	        "RELATED_1MKYMW_Campus."
	   );
	
				
	static public interface DataProperty{
		
	   /**
	    * Attribute id
	    */
	   static final String Id = "id";
	
		
	   /**
	    * Attribute teacherId
	    */
	   static final String TeacherId = "teacherId";
	
		
	   /**
	    * Attribute campusId
	    */
	   static final String CampusId = "campusId";
	
		
	   /**
	    * Attribute teacherName
	    */
	   static final String TeacherName = "teacherName";
	
		
	   /**
	    * Attribute campusName
	    */
	   static final String CampusName = "campusName";
	
		
	}
	
	static public interface _DataObjectProperty extends DataProperty{
		
	}
	
					    	    														
		
	/**
	 * Delete Data
	 * @param final long id
	 * @throws Exception
	 */
	void delete(  final long id ) throws Exception;
    /**
	 * Find Data By Primary Key
	 * @param  final long id
	 * @throws Exception
	 */
	TeacherCampusRelate findById( final long id ) throws Exception;
	
		
		
}